package com.manage.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * 字典实体类
 */
@AllArgsConstructor
@Data
@TableName("t_dict")
public class DictEntity implements Serializable {
    /**
     * 字典ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "字典ID")
    private Long id;
    /**
     *创建者用户ID
     */
    @Schema(description = "创建者用户ID")
    private Long userId;
    /**
     *字典名称
     */
    @Schema(description = "字典名称")
    private String name;
    /**
     *字典类型
     */
    @Schema(description = "字典类型")
    private String type;
    /**
     *字典描述
     */
    @Schema(description = "字典描述")
    private String description;
    /**
     *状态(0=禁用,1=启用)
     */
    @Schema(description = "状态(0=禁用,1=启用)")
    private Integer status;
    /**
     *创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;
    /**
     *更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;
    /**
     *是否删除(0=否,1=是)
     */
    @TableLogic
    @Schema(description = "是否删除(0=否,1=是)")
    private Integer isDeleted;
}
